package com.pzhu.controller;

import com.pzhu.pojo.Book;

import java.util.List;

public interface BookController {
    public int addBook(Book book);

    public long deleteBook(Long id);

    public Book selectBook(Long id);

    public List<Book> selectAllBook();

    public int updateBook(Book book);

    public long selectLastId();
}
